package com.yiwei.zxp.api.model;

import android.os.Parcel;
import android.os.Parcelable;

import com.yiwei.zxp.api.bean.ResponModel;

import java.util.List;

/**
 * Created by xsooy-pc on 18-5-24.
 */

public class SingCateModel implements Parcelable {




        public String id;
        public String catname;

        @Override
        public int describeContents() {
                return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(this.id);
                dest.writeString(this.catname);
        }

        public SingCateModel() {
        }

        protected SingCateModel(Parcel in) {
                this.id = in.readString();
                this.catname = in.readString();
        }

        public static final Parcelable.Creator<SingCateModel> CREATOR = new Parcelable.Creator<SingCateModel>() {
                @Override
                public SingCateModel createFromParcel(Parcel source) {
                        return new SingCateModel(source);
                }

                @Override
                public SingCateModel[] newArray(int size) {
                        return new SingCateModel[size];
                }
        };
}
